// Fill out your copyright notice in the Description page of Project Settings.


#include "Character/AuraCharacterBase.h"

// Sets default values
AAuraCharacterBase::AAuraCharacterBase()
{
 	// Set this character to call Tick() every frame.  You can turn this off to improve performance if you don't need it.
	PrimaryActorTick.bCanEverTick = false;

	//构造函数中创建默认子对象
	Weapon = CreateDefaultSubobject< USkeletalMeshComponent>("Weapon");
	//武器设置附件
	Weapon->SetupAttachment(GetMesh(),FName("WeaponHandSocket"));
	//武器不可碰撞
	Weapon->SetCollisionEnabled(ECollisionEnabled::NoCollision);

}

// Called when the game starts or when spawned
void AAuraCharacterBase::BeginPlay()
{
	Super::BeginPlay();
	
}


